<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/include/taglibs.jsp"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>IDC运营支撑平台----网络管理模块</title>
<link type="text/css" rel="stylesheet" href="./scripts/pub.ext.v221/resources/css/ext-all.css">
<link type="text/css" rel="stylesheet" href="./scripts/pub.ext.v221/resources/css/ext-all-patch-cn.css">
<link type="text/css" rel="stylesheet" href="./scripts/pub.ext.v221/resources/css/xtheme-gray.css">

<link type="text/css" rel="stylesheet" href="./styles/hx.base.css">
<link type="text/css" rel="stylesheet" href="./styles/hx.menu.css">
<link type="text/css" rel="stylesheet" href="./styles/hx.sidebar.css">
<link type="text/css" rel="stylesheet" href="./styles/hx.list.css">
<link type="text/css" rel="stylesheet" href="./styles/hx.input.css">
<link type="text/css" rel="stylesheet" href="./styles/hx.palette.css">
<link type="text/css" rel="stylesheet" href="./styles/calendar-themes.css">

<script type="text/javascript" src="./scripts/pub.ext.v221/adapter/prototype/prototype.js"></script>
<script type="text/javascript" src="./scripts/pub.ext.v221/adapter/prototype/scriptaculous.js"></script>
<script type="text/javascript" src="./scripts/pub.ext.v221/adapter/prototype/effects.js"></script>
<script type="text/javascript" src="./scripts/pub.ext.v221/adapter/prototype/ext-prototype-adapter.js"></script>
<script type="text/javascript" src="./scripts/pub.ext.v221/ext-all-debug.js"></script>

<script type="text/javascript" src="./scripts/hx.utils.js"></script>
<script type="text/javascript" src="./scripts/hx.list.js"></script>
<script type="text/javascript" src="./scripts/pub.swfobject.v15.js"></script>

<script type="text/javascript" src="./pages/xflow/common/sortabletable.js"></script>
<script type="text/javascript" src="./pages/xflow/common/common.js"></script>
<script type="text/javascript" src="./pages/xflow/openflash/swfobject.js"></script>

<link type="text/css" href="menu.css" rel="stylesheet" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="menu.js"></script>



<script type="text/javascript">
	var sidebar_id = 'sidebar';
	var sidebar_title = '&nbsp;';
	var sidebar_load_url = '';
	
	//Ext.BLANK_IMAGE_URL = 'images/s.gif';
	
	function menu_navigate(m) {
		if(m.target == ""){
			window.location = m.url;
		} else {
			f_navigate(m.url, m.target);
		}
	}

	function f_navigate(url, target) {
		if($('workspace-container')){
			$('workspace-container').hide();
		}
		if($(sidebar_id)){
			$(sidebar_id).hide();
		}
		if($(sidebar_id + '-xsplit')){
			$(sidebar_id + '-xsplit').hide();
		}
		Ext.onReady( function() {
			var layout = Ext.getCmp('hxlayout'); 
			if(layout != null){
				layout.doLayout();
			}
		});
		if($('frame-container')){
			if(!$('frame-container').visible()) {
				$('frame-container').show();
			}
			if($(target) && $(target).visible){
				$(target).src = url;
			} else {
				$('frame-container').select('iframe').each(function(s,idx) {
					s.hide();
				});
				$(target).show();
				$(target).src = url;
			}
		}
	}

	function logout(){
		<c:if test="${HX_S_USER_FROM_PORTAL}">
			window.close();
		</c:if>
		<c:if test="${!HX_S_USER_FROM_PORTAL}">
			window.location = 'logout.do';
		</c:if>
	}
</script>
</head>